bitkeeper revision 1.1159.238.4 (4200cf15b8T6NKAN_1Kqx3nMy4I7WA)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Wed, 2 Feb 2005 13:01:09 +0000 (13:01 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Wed, 2 Feb 2005 13:01:09 +0000 (13:01 +0000)
commitc5f20f6be82879b386a3a00e782d4834ad0d4c69
treea0864652288ada191504401c9e1688b27e4e7d3f
parentba1589306bbaecf981f7db162dfc0d53bc86260b
bitkeeper revision 1.1159.238.4 (4200cf15b8T6NKAN_1Kqx3nMy4I7WA)

slab.c in Linux is not a very nice piece of code: the version in Xen has
been hacked a certain amount and is not a vision of beauty either.

Given how rare and non-time-critical dynamic allocations are in Xen,
this replaces the 1800-line slab.c with a 160-line malloc.c which is
written as simply as possible for future enhancement.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
.rootkeys
xen/arch/x86/setup.c
xen/common/malloc.c [new file with mode: 0644]
xen/common/page_alloc.c
xen/include/xen/domain.h
xen/include/xen/lib.h
xen/include/xen/list.h
xen/include/xen/slab.h